package com.village.friend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 查看用户微信的记录
 * </p>
 *
 * @author yl
 * @since 2021-11-13
 */
@ApiModel(value="UserWechatLook对象", description="查看用户微信的记录")
public class UserWechatLook implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "账号")
    private Integer userId;

    @ApiModelProperty(value = "被查看的账号")
    private Integer userIdLooked;

    @ApiModelProperty(value = "是1否0查看")
    private Integer isLooked;

    @ApiModelProperty(value = "建立时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最后更新时间")
    private LocalDateTime updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserIdLooked() {
        return userIdLooked;
    }

    public void setUserIdLooked(Integer userIdLooked) {
        this.userIdLooked = userIdLooked;
    }

    public Integer getIsLooked() {
        return isLooked;
    }

    public void setIsLooked(Integer isLooked) {
        this.isLooked = isLooked;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "UserWechatLook{" +
        "id=" + id +
        ", userId=" + userId +
        ", userIdLooked=" + userIdLooked +
        ", isLooked=" + isLooked +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
